* configure.in: Distinguish between hp800's and hp700's by calling
authorJim Blandy <jimb@redhat.com>
Mon, 24 May 1993 05:06:15 +0000 (05:06 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 24 May 1993 05:06:15 +0000 (05:06 +0000)
"uname -m".

* configure.in: Distinguish between hp800's and hp700's by calling
"uname -m".

configure1.in

index 7a56f8cf055cd349f39dd80fa13133979c1d1000..f3bace3ed56c4b689e05ef4382ec8fb86a6dbc30 100755 (executable)
@@ -499,9 +499,19 @@ case "${configuration}" in
     machine=hp9000s300 opsys=hpux
   ;;
 
-  ## HP 9000 series 800, running HP/UX
+  ## HP 9000 series 700 and 800, running HP/UX
   hppa1.0-hp-hpux* )
-    machine=hp9000s800 opsys=hpux
+    machine=hp9000s800 opsys=hpux.h
+  ;;
+  hppa1.1-hp-hpux* )
+    machine=hp9000s800 opsys=hpux8.h
+  ;;
+  hppa*-hp-hpux* )
+    ## Cross-compilation?  Nah!
+    case "`uname -m`" in
+      9000/8?? ) machine=hp9000s800 opsys=hpux.h ;;
+      9000/7?? ) machine=hp9000s800 opsys=hpux8.h ;;
+    esac
   ;;
 
   ## Orion machines
@@ -838,7 +848,7 @@ AC_RETSIGTYPE
 
 dnl checks for functions
 AC_ALLOCA
-AC_HAVE_FUNCS(gettimeofday gethostname dup2)
+AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename)
 
 dnl checks for structure members
 AC_STRUCT_TM